#pragma once

[
    object,
    uuid("8ED59310-5B4F-4c4d-959B-6566B1BD7EC4"),
    pointer_default(unique)
]
__interface IxBuffer : IUnknown
{
    HRESULT GetBuffer(LPBYTE* ppBuffer);
    HRESULT Resize(UINT uSize, BYTE** ppbyBuf);
    HRESULT GetSize(LPUINT lpuSize);
    HRESULT Clear();
};
